<template>
  <div>
    <h4>移动能力评定(MRMI)</h4>
    <el-row type="flex" justify="space-between">
      <el-col :span="11">
        <div>
          <span>床上翻身 </span>
          <el-input v-model="pgForm.pjskfgn_pajs30" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>从卧到坐 </span>
          <el-input v-model="pgForm.pjskfgn_pajs31" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11" offset="1">
        <div>
          <span>坐位维持 </span>
          <el-input v-model="pgForm.pjskfgn_pajs32" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>从坐到站 </span>
          <el-input v-model="pgForm.pjskfgn_pajs33" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col  :span="11">
        <div>
          <span>站位维持 </span>
          <el-input v-model="pgForm.pjskfgn_pajs34" style="width: 80%"></el-input>
        </div>
      </el-col>

      <el-col :span="11">
        <div>
          <span>床椅转移 </span>
          <el-input v-model="pgForm.pjskfgn_pajs35" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>室内步行 </span>
          <el-input v-model="pgForm.pjskfgn_pajs36" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>上下楼梯 </span>
          <el-input v-model="pgForm.pjskfgn_pajs37" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col>
        <div>
          <span>总分 </span>
          <el-input class="readonly" v-model="pgForm.pjskfgn_pajs38" style="width: 40%" readonly></el-input>
        </div>
      </el-col>
    </el-row>
    <h4>ADL评定(MBI总分)</h4>
    <el-row type="flex" justify="space-between">
      <el-col :span="11">
        <div>
          <span>进食 </span>
          <el-input v-model="pgForm.pjskfgn_pajs40" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>转移 </span>
          <el-input v-model="pgForm.pjskfgn_pajs41" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>修饰 </span>
          <el-input v-model="pgForm.pjskfgn_pajs42" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>如厕 </span>
          <el-input v-model="pgForm.pjskfgn_pajs43" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>洗澡 </span>
          <el-input v-model="pgForm.pjskfgn_pajs44" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>行走 </span>
          <el-input v-model="pgForm.pjskfgn_pajs45" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11" >
        <div>
          <span>上下楼梯 </span>
          <el-input v-model="pgForm.pjskfgn_pajs46" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>穿衣 </span>
          <el-input v-model="pgForm.pjskfgn_pajs47" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>大便控制 </span>
          <el-input v-model="pgForm.pjskfgn_pajs48" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col :span="11">
        <div>
          <span>小便控制 </span>
          <el-input v-model="pgForm.pjskfgn_pajs49" style="width: 80%"></el-input>
        </div>
      </el-col>
      <el-col>
        <div>
          <span>总分 </span>
          <el-input class="readonly" v-model="pgForm.pjskfgn_pajs50" style="width: 40%" readonly></el-input>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "person_activity",
  title: "个体活动",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm:{
        pjskfgn_pajs30:'',
        pjskfgn_pajs31:'',
        pjskfgn_pajs32:'',
        pjskfgn_pajs33:'',
        pjskfgn_pajs34:'',
        pjskfgn_pajs35:'',
        pjskfgn_pajs36:'',
        pjskfgn_pajs37:'',
        pjskfgn_pajs38:'',
        pjskfgn_pajs40:'',
        pjskfgn_pajs41:'',
        pjskfgn_pajs42:'',
        pjskfgn_pajs43:'',
        pjskfgn_pajs44:'',
        pjskfgn_pajs45:'',
        pjskfgn_pajs46:'',
        pjskfgn_pajs47:'',
        pjskfgn_pajs48:'',
        pjskfgn_pajs49:'',
        pjskfgn_pajs50:'',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}

</style>
